<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Values and Units: color rgba codes</title>
    <link rel="stylesheet" href="../styles.css" />
    <style>
      * {
        box-sizing: border-box;
      }
      .wrapper {
        background-image: url(balloons.jpg);
        padding: 40px 20px;
      }
      .box {
        padding: 10px;
        margin: 1em 0;
        border-radius: 0.5em;
      }
    </style>

    <style class="editable">
      .one {
        background-color: rgba(2, 121, 139, 0.3);
      }

      .two {
        background-color: rgba(197, 93, 161, 0.7);
      }

      .three {
        background-color: rgba(18, 138, 125, 0.9);
      }
    </style>
  </head>

  <body>
    <section class="preview">
      <div class="wrapper">
        <div class="box one">rgba(2, 121, 139, .3)</div>
        <div class="box two">rgba(197, 93, 161, .7)</div>
        <div class="box three">rgba(18, 138, 125, .9)</div>
      </div>
    </section>

    <textarea class="playable playable-css" style="height: 240px;">
.one {
  background-color: rgba(2, 121, 139, .3);
}

.two {
  background-color: rgba(197, 93, 161, .7);
}

.three {
  background-color: rgba(18, 138, 125, .9);
}
    </textarea>

    <textarea class="playable playable-html" style="height: 130px;">
<div class="wrapper">
  <div class="box one">rgba(2, 121, 139, .3)</div>
  <div class="box two">rgba(197, 93, 161, .7)</div>
  <div class="box three">rgba(18, 138, 125, .9)</div>
</div>
    </textarea>

    <div class="playable-buttons">
      <input id="reset" type="button" value="Reset" />
    </div>
  </body>
  <script src="../playable.js"></script>
</html>
